"""登录路由"""
from django.urls import path
from accounts import views

urlpatterns = [
    # 返回账户信息接口
    path('accounts/', views.UserInfo.as_view()),
    # 返回班级信息接口
    path('class/', views.ClassInfo.as_view()),
    # 返回班级学生信息接口
    path('class/student/', views.Classmate.as_view()),
    # 返回班级内学生个人信息
    path('class/student/info/', views.StudentInfo.as_view()),
    # # 头像和背景上传接口
    # # path('avatar/api/', views.AvatarAPI.as_view()),
    # 社团信息接口
    path('dept/api/', views.DepartmentAPI.as_view()),
]
